<div id="content">
                    	<h3>Thêm tin tức</h3>
                        
                        <a class="back" href="<?php echo base_url() ?>index.php/Quanlytintuc/index">Quay lại</a> 
                        
                        <div id="contentFunc">
                        	<?php 
								$attributes = array('id'=>'frmCapNhatTT','name'=>'frmCapNhatTT','enctype'=>'multipart/form-data');
								echo form_open_multipart('Quanlytintuc/them',$attributes);	
								
							?>
                              <div class="blockSP">
                                <label class="lblTinTuc" for="txtTieuDe">Tiêu đề:</label>
                                <input class="input" type="text" id="txtTieuDe" name="tieude"/>
                              </div>
                              <div class="blockSP">
                                <label class="lblTinTuc" for="txtTieuDeEn">Tiêu đề (En):</label>
                                <input class="input" type="text" id="txtTieuDeEn" name="tieude_en"/>
                              </div>
                              <div class="blockSP">
                                <label class="lblTinTuc" for="txtTomTat">Tóm tắt :</label>
                                <textarea class="input" id="txtTomTat" name="tomtat"></textarea>
                              </div>  
                              <div class="blockSP">
                                <label class="lblTinTuc" for="txtTomTatEn">Tóm tắt (En):</label>
                                <textarea class="input" id="txtTomTatEn" name="tomtat_en"></textarea>
                              </div>  
                              <div id="chiTietSP">
                                <label class="lblChiTiet" for="txtNoiDung">Tiếng Việt:</label>
                                <textarea id="txtNoiDung" name="noidung"></textarea>
                                
                                <script type="text/javascript">
                                	CKEDITOR.replace("txtNoiDung");
                                </script>
                              </div>
                              
                               <div id="chiTietSP">
                                <label class="lblChiTiet" for="txtNoiDungEn">Tiếng Anh:</label>
                                <textarea id="txtNoiDungEn" name="noidung_en"></textarea>
                                
                                <script type="text/javascript">
                                	CKEDITOR.replace("txtNoiDungEn");
                                </script>
                              </div>
                              
                              
                              <div class="blockSP">
                                <label class="lblTinTuc" for="txtDonViTinh">Tác giả:</label>
                                <input class="input" type="text" id="txtTacGia" name="tacgia"/>
                              </div>
                              
                              <div class="blockSP">
                                <label class="lblTinTuc" for="filHinhDaiDien">Hình đại diện:</label>
                                <input class="input" type="file" id="filHinhDaiDien" name="filHinhDaiDien"/>
                              </div>         
                              <?php 
								echo validation_errors();
								if(!empty($img['error_upload']))
								{
									echo $img['error_upload'];
								}
								if(!empty($thongbao))
								{
									echo $thongbao;
									}				
							  ?>
                              <div class="blockSP button">
                              	<input type="submit"  id="btnThem" value="Thêm" />
                				<input type="reset" name="btnHuyBo" id="btnHuyBo" value="Hủy bỏ" />
                              </div>
                           </form>
                        </div>
                    </div>
            </div>